﻿<%@ Page Title="" Language="C#" MasterPageFile="~/home-loan/Home_Loan.master" AutoEventWireup="true" 
CodeFile="personal-details.aspx.cs" Inherits="home_loan_personal_details" %>

<%@ Register Src="../controls/usrPhoneNo.ascx" TagName="usrPhoneNo" TagPrefix="uc1" %>
<%@ Register Src="../controls/usrCompanyBigLogoByServices.ascx" TagName="usrCompanyBigLogoByServices"
    TagPrefix="uc4" %>
<%@ Register Src="~/controls/usrNoJS.ascx" TagName="usrNoJS" TagPrefix="ucNoJS" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <script src="../controls/CE_Date.js" type="text/javascript"></script>

    <script src="../includes/ValidationError.js" type="text/javascript"></script>

    <script src="../includes/ValidationEffect.js" type="text/javascript"></script>

    <script src="../includes/LoadingProgress.js" type="text/javascript"></script>

    <div class="elements_inner_wrapper">
        <ucNoJS:usrNoJS ID="usrNoJS1" runat="server" />
        <!-- #Include file="../includes/body_loader.inc" -->

        <script type="text/javascript">
            IncreaseProgress(5);
        </script>

        <div id="divContent" style="display: none">
            <div class="rightcol">
                <div class="content_right">
                    <div class="tip">
                        <div class="head"></div>
                        <div class="body" id="spanPartnerLogo">
                            <h1>Our Merchants</h1>
                            <uc4:usrCompanyBigLogoByServices LogoLimitCount="8" CompanyProviderTypeId="200" ID="usrCompanyLogoByServices1"
                                runat="server" />
                        </div>
                        <div class="foot"></div>
                    </div>
                    <br />
                    <div class="tip">
                        <div class="head">
                        </div>
                        <div class="body">
                            <h1>
                                Compare Home Loans Online</h1>
                            <div class="pad_10">
                                <ul>
                                    <li class="one">Enter mortgage & property type</li>
                                    <li class="two">Enter rate and loan tenure</li>
                                    <li class="three">Enter your personal details  </li>
                                    <li class="four">Real time quotes from market leading brands</li>
                                </ul>
                            </div>
                        </div>
                        <div class="foot">
                        </div>
                    </div>
                </div>
            </div>
            <div id="contentBody">
                <div>
                    <ul id="stp_menu">
                        <li class="stp1"><a href="#"><span class="stp_r">Mortgage and property type</span></a></li>
                        <li class="stp2"><a href="#"><span class="stp_r">Rate and loan tenure</span></a></li>
                        <li class="stp3_r"><a href="#"><span class="active_r">Personal details</span></a></li>
                        <li class="stp4"><a href="#"><span class="stp_r">Quote Results</span></a></li>
                    </ul>
                </div>
                <div class="seperator">
                </div>
                <div class="section">
                    <fieldset>
                        <div class="row">
                            <asp:ValidationSummary ID="ValidationSummary1" HeaderText="Oops Please complete the form."
                                runat="server" ValidationGroup="homeloan" CssClass="errorSummary" />
                        </div>
                        
                        <script type="text/javascript">
                            IncreaseProgress(25);
                        </script>
                        
                        <div class="row">
                            <label for="First Name" class="mand_red">
                                First Name</label>
                            <div class="field">
                                <span class="indicator">
                                    <asp:TextBox ID="txtFullName" MaxLength="80" runat="server" Width="200px" class="text" />
                                </span><span class="indicator">
                                    <asp:RequiredFieldValidator ID="rfvFullName" runat="server" ControlToValidate="txtFullName"
                                        validationErrorCssClass="validationError" ErrorMessage="" ValidationGroup="homeloan"></asp:RequiredFieldValidator>
                                    <asp:RegularExpressionValidator ID="revFullName" runat="server" ValidationGroup="homeloan"
                                        ValidationExpression="^[a-zA-Z''-'\s]{1,30}$" validationErrorCssClass="validationError"
                                        ControlToValidate="txtFullName" ErrorMessage=""></asp:RegularExpressionValidator>
                                </span>
                            </div>
                            <div class="clear">
                            </div>
                        </div>
                        
                        <%--<div class="row">
                            <label for="LastName" class="mand_red">
                                Last Name</label>
                            <div class="field">
                                <span class="indicator">
                                    <asp:TextBox ID="txtLastName" MaxLength="30" runat="server" Width="200px" class="text" />
                                </span><span class="indicator">
                                    <asp:RequiredFieldValidator ID="rfvLastName" runat="server" ControlToValidate="txtLastName"
                                        validationErrorCssClass="validationError" ErrorMessage="" ValidationGroup="homeloan"></asp:RequiredFieldValidator>
                                    <asp:RegularExpressionValidator ID="revLastName" runat="server" ValidationGroup="homeloan"
                                        ValidationExpression="^[a-zA-Z''-'\s]{1,30}$" validationErrorCssClass="validationError"
                                        ControlToValidate="txtLastName" ErrorMessage=""></asp:RegularExpressionValidator>
                                </span>
                            </div>
                            <div class="clear">
                            </div>
                        </div>--%>
                        
                        <script type="text/javascript">
                            IncreaseProgress(45);
                        </script>

                        <div class="row">
                            <label for="Contact number" class="mand_red">
                                Contact number</label>
                            <div class="field">
                                <span class="indicator">
                                    <uc1:usrPhoneNo ID="txtContactnumber" ValidationGroup="homeloan" IsEnabled="true" PhoneNoErrorMessage="Contactnumber must be number value."
                                        PhoneNoValidErrorMessage="Contactnumber no is not valid." IsRequired="true" PhoneNoRequireErrorMessage="Require Contactnumber."
                                        runat="server" />
                                </span><span class="indicator"></span>
                            </div>
                            <div class="clear">
                            </div>
                        </div>
                        <div class="row">
                            <label for="Trip Type" class="mand_red">
                                Email</label>
                            <div class="field">
                                <span class="indicator">
                                    <asp:TextBox ID="txtEmailAddress" MaxLength="100" Width="200px" runat="server" class="text" />
                                </span><span class="indicator">
                                    <asp:RequiredFieldValidator ID="rfvEmailAddress" validationErrorCssClass="validationError"
                                        runat="server" ValidationGroup="homeloan" ErrorMessage="" Text="" ControlToValidate="txtEmailAddress"
                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                    <asp:RegularExpressionValidator validationErrorCssClass="validationError" ID="revEmailAddress"
                                        runat="server" ValidationGroup="homeloan" ErrorMessage="" Text="" ControlToValidate="txtEmailAddress"
                                        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" Display="Dynamic"></asp:RegularExpressionValidator>
                                </span>
                            </div>
                            <div class="clear">
                            </div>
                        </div>

                        <script type="text/javascript">
                            IncreaseProgress(80);
                        </script>
                    </fieldset>
                    <div class="formButtons">
                        <span class="button2">
                            <asp:ImageButton ID="ImageButton1" OnClientClick="LoadValidationErrorCss();" runat="server"
                                ImageUrl="~/images/buttons/compare.gif" OnClick="ImageButton1_Click" ValidationGroup="homeloan"
                                class="img_align_right" onmouseover="this.src='/images/buttons/compare_o.gif';"
                                onmouseout="this.src='/images/buttons/compare.gif';" />
                        </span>
                    </div>
                    <div class="seperator"></div>
                    <div class="imp_info">
                        <p><strong>Important Information:</strong> Some lenders will only update rate changes into effect until the end of the month, some 
                        of the rates shown here may still reflect older rates.</p>
                    </div>
                    <div class="clear">
                    </div>

                <!--------------CONTENT HERE -------------->
            </div>
        </div>
    </div>

    <script type="text/javascript">
        //<![CDATA[ 


        function ShowHideDiv(divName, varOnOff) {
            if (varOnOff) {
                document.getElementById(divName).style.display = "";
            }
            else {
                document.getElementById(divName).style.display = "none";
            }
        }

        function showhide(el) {
            el = document.getElementById(el);
            el.style.display = (el.style.display == "none") ? "block" : "none";
        }
        window.onload = function() {
           
        }
        //]]> 
    </script>

    <script type="text/javascript">
        IncreaseProgress(100);
        HideLoading();
    </script>

</asp:Content>

